<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/26
  Time: 9:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath()+"/"; %>
<!DOCTYPE html>
<html  class="x-admin-sm">
<head>
    <base href="<%=path%>">
    <meta charset="UTF-8">
    <title>后台登录-X-admin2.2</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <link rel="stylesheet" href="layui/AmazeUI-2.4.2/assets/css/amazeui.css" />
    <link href="layui/css/dlstyle.css" rel="stylesheet" type="text/css">

    <link rel="stylesheet" href="layui/css/font.css">
    <link rel="stylesheet" href="layui/css/xadmin.css">

    <script type="text/javascript" src="layui/js/jquery.min.js"></script>
    <script src="layui/lib/layui/layui.js" charset="utf-8"></script>

</head>
<body>

<div class="login-banner">
    <div class="login-main">
        <div class="login-banner-bg"></div>
        <div class="login-box">
            <h3 class="title">拟上市公司跟踪培育服务系统</h3>

            <div class="clear" style="margin-top: 20px;"></div>

            <div class="login-form">
                <form action="login" id="form" class="layui-form" method="post">
                    <div class="user-name">
                        <input type="text"  name="loginAccount"
                               class="layui-input" placeholder="请输入用户名"  required="required">
                    </div>
                    <br/>
                    <div class="user-pass" >
                        <!--  <label for="password"><i class="am-icon-lock"></i></label>-->
                        <input type="password"  name="loginPwd"
                               class="layui-input" placeholder="请输入密码"  required="required">
                    </div>
                </form>
            </div>
            <div class="login-links">
                <label for="remember-me"><input id="remember-me" type="checkbox" form="form" name="check" onclick="this.value=(this.value==0)?1:0" value="0">记住密码</label>
                <a href="#" class="am-fr">忘记密码</a>
                <a href="/toRegister" class="am-fr" style="padding-right: 15px;" id="register">注册</a>
                <br/>
            </div>
            <div class="am-cf">
                <a href=""><input form="form" lay-filter="login" lay-submit="" type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm" style="background-color:#e7363c"></a>
            </div>

        </div>
    </div>
</div>

</body>
<script>

        layui.use(['form','jquery','layer'], function(){
            var form = layui.form;
            $= layui.jquery
            layer = layui.layer;
            // layer.msg('玩命卖萌中', function(){
            //   //关闭后的操作
            //   });
            // 跳转注册
        //form.on("submit(login)",function (){
             /*  $.ajax({
                   url:"login",
                   type:"post",
                   dataType:"json",
                   success:function (ret){
                       if(!ret.status){
                           layer.msg('账号或密码错误！！！')
                       }else {
                           window.location.href("toIndex")
                       }
                   }*/
              // })

        })






</script>
</html>